#@adminLayout()
#define main()
<div class="jbolt_page">
    <div class="jbolt_page_content">
        <div class="col-12">
            <form id="retailerFormFina"  action="/auth/mall/retailer/coupon/update" method="post" onsubmit="return RefreshsubmitForm(this);">
                #if(retailer_coupon.id??)
                <input type="hidden" name="retailer_coupon.id" value="#(retailer_coupon.id)" />
                #end



                <div class="form-group row">
                    <label class="col-3 col-form-label">商家名称</label>
                    <div class="col-8">
                        <input class="form-control" type="text" data-rule="required"   readonly="readonly" name="retailer_name" value="#(MyUtil.get_retailer_name(retailer_coupon.retailer_id??)??)">
                    </div>
                </div>



                <div class="form-group row">
                    <label class="col-3 col-form-label">充值金额(元)</label>
                    <div class="col-8">
                        <input type="money" autocomplete="off" data-rule="money" data-tips="请输入正确的充值金额（只保留小数点后两位）" class="form-control" min="0" maxlength="11"  placeholder="请输入充值金额"  name="charge_amount" value="#(MyUtil.get_price_string(retailer_coupon.amount??)??)">
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-3 col-form-label">赠送金额(元)</label>
                    <div class="col-8">
                        <input type="money" autocomplete="off" data-rule="money" data-tips="请输入正确的赠送金额（只保留小数点后两位）" class="form-control" min="0" maxlength="11" placeholder="请输入赠送金额"   name="value" value="#(MyUtil.get_price_string(retailer_coupon.bonus??)??)">
                    </div>
                </div>



                <div class="form-group row" >
                    <label class="col-3 col-form-label">选择过期时间:</label>
                    <div class="col-8">
                        <input type="text" class="form-control"  data-rule="required" data-tips="请选择过期时间"  data-date data-type="datetime" data-fmt="yyyy-MM-dd HH:mm:ss" name="expired" value="#date(DateUtil.toDate(MyUtil.get_date(retailer_coupon.expired??)),'yyyy-MM-dd HH:mm:ss')">
                    </div>
                </div>



                <div class="form-group text-center">
                    <button  type="submit"    class="btn btn-success"   ><i class="fa fa-check mr-2"></i>确定</button>
                </div>
            </form>

        </div>
    </div>
</div>
</div>
#end


#define js()
<script>
</script>
#end
